#include<iostream>
#include<vector>
#include<string>
using std::vector;
using std::string;
using std::cin;
using std::cout;
using std::endl;
int main() {
	vector<int> num(10);
	for (auto&c : num)
		cin >> c;

	for (auto i = num.begin(); i!= num.end(); i++){
		*i = (*i)*(*i);
		cout << *i << endl;
	}
	system("pause");
	return 0;
}